package com.situ.water_user.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author Angel
 * @since 2020-12-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="UsUser对象", description="")
public class UsUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "UserNo", type = IdType.ID_WORKER)
    private String userno;

    @TableField("UserName")
    private String username;

    @TableField("ABC")
    private String abc;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("CreateDate")
    private Date createdate;

    @TableField("Address")
    private String address;

    @TableField("Phone")
    private String phone;

    @TableField("SMSPhone")
    private String smsphone;

    @TableField("AreaID")
    private Integer areaID;

    @TableField("UserType")
    private String userType;

    @TableField("PayType")
    private String payType;

    @TableField("BankName")
    private String bankName;

    @TableField("BankNum")
    private String bankNum;

    @TableField("Formula")
    private String formula;

    @TableField("UserMoney")
    private Double userMoney;

    @TableField("MeterID")
    private Integer meterID;

    @TableField("DocNum")
    private String docNum;

    @TableField("Pwd")
    private String pwd;

    @TableField("ContractNum")
    private String contractNum;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("ContractDate")
    private Date contractDate;

    @TableField("VolumeID")
    private Integer volumeID;

    @TableField("VolumeOrderIndex")
    private Integer volumeOrderIndex;

    @TableField("Disabled")
    private Boolean disabled;
}
